import http from '@/utils/HttpRequest';

// 装修列表
export let getShopDecorationListApi = (params) => {
    return http({
        url: '/shopDecoration/list',
        method: 'GET',
        params
    });
};

// 装修新增
export let createShopDecorationApi = (data) => {
    return http({
        url: '/shopDecoration',
        data
    });
};

// 装修修改
export let updateShopDecorationApi = (data) => {
    return http({
        url: '/shopDecoration',
        method: 'PUT',
        data
    });
};

// 装修删除
export let deleteShopDecorationApi = (data) => {
    return http({
        url: '/shopDecoration',
        method: 'DELETE',
        data
    });
};